package com.fdhwws.web.dao;

import com.fdh.myjdbcutil.IMyEntity;

import java.util.List;

public interface BaseDao<T extends IMyEntity> {

    public T selectById(Integer id);

    public List<T> selectAll();

    public int insert(T entity);

    public int update(T entity);

    public int delete(Integer id);
}
